﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DSWornings" targetNamespace="http://tempuri.org/DSWornings.xsd" xmlns:mstns="http://tempuri.org/DSWornings.xsd" xmlns="http://tempuri.org/DSWornings.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="LonsdaleHRConnectionString" IsAppSettingsProperty="true" Modifier="Assembly" Name="LonsdaleHRConnectionString (MySettings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.OasisIBS.My.MySettings.GlobalReference.Default.LonsdaleHRConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="WorningsTableAdapter" GeneratorDataComponentClassName="WorningsTableAdapter" Name="Wornings" UserDataComponentName="WorningsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="LonsdaleHRConnectionString (MySettings)" DbObjectName="LonsdaleHR.dbo.Wornings" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Wornings] WHERE (([SNo] = @Original_SNo) AND ((@IsNull_EmpName = 1 AND [EmpName] IS NULL) OR ([EmpName] = @Original_EmpName)) AND ((@IsNull_EmpID = 1 AND [EmpID] IS NULL) OR ([EmpID] = @Original_EmpID)) AND ((@IsNull_Violation = 1 AND [Violation] IS NULL) OR ([Violation] = @Original_Violation)) AND ((@IsNull_Consequence = 1 AND [Consequence] IS NULL) OR ([Consequence] = @Original_Consequence)) AND ((@IsNull_ViolationDate = 1 AND [ViolationDate] IS NULL) OR ([ViolationDate] = @Original_ViolationDate)) AND ((@IsNull_Penalty = 1 AND [Penalty] IS NULL) OR ([Penalty] = @Original_Penalty)) AND ((@IsNull_WorningType = 1 AND [WorningType] IS NULL) OR ([WorningType] = @Original_WorningType)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SNo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EmpName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmpName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_EmpName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="EmpName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EmpID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmpID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_EmpID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmpID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Violation" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Violation" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Violation" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Violation" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Consequence" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Consequence" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Consequence" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Consequence" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ViolationDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ViolationDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_ViolationDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="ViolationDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Penalty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Penalty" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Penalty" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Penalty" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_WorningType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="WorningType" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_WorningType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="WorningType" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Wornings] ([SNo], [EmpName], [EmpID], [Violation], [Consequence], [ViolationDate], [Penalty], [WorningType]) VALUES (@SNo, @EmpName, @EmpID, @Violation, @Consequence, @ViolationDate, @Penalty, @WorningType);
SELECT SNo, EmpName, EmpID, Violation, Consequence, ViolationDate, Penalty, WorningType FROM Wornings WHERE (SNo = @SNo)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@EmpName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="EmpName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@EmpID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmpID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Violation" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Violation" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Consequence" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Consequence" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@ViolationDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="ViolationDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Penalty" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Penalty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@WorningType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="WorningType" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        SNo, EmpName, EmpID, Violation, Consequence, ViolationDate, Penalty, WorningType
FROM            Wornings</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Wornings] SET [SNo] = @SNo, [EmpName] = @EmpName, [EmpID] = @EmpID, [Violation] = @Violation, [Consequence] = @Consequence, [ViolationDate] = @ViolationDate, [Penalty] = @Penalty, [WorningType] = @WorningType WHERE (([SNo] = @Original_SNo) AND ((@IsNull_EmpName = 1 AND [EmpName] IS NULL) OR ([EmpName] = @Original_EmpName)) AND ((@IsNull_EmpID = 1 AND [EmpID] IS NULL) OR ([EmpID] = @Original_EmpID)) AND ((@IsNull_Violation = 1 AND [Violation] IS NULL) OR ([Violation] = @Original_Violation)) AND ((@IsNull_Consequence = 1 AND [Consequence] IS NULL) OR ([Consequence] = @Original_Consequence)) AND ((@IsNull_ViolationDate = 1 AND [ViolationDate] IS NULL) OR ([ViolationDate] = @Original_ViolationDate)) AND ((@IsNull_Penalty = 1 AND [Penalty] IS NULL) OR ([Penalty] = @Original_Penalty)) AND ((@IsNull_WorningType = 1 AND [WorningType] IS NULL) OR ([WorningType] = @Original_WorningType)));
SELECT SNo, EmpName, EmpID, Violation, Consequence, ViolationDate, Penalty, WorningType FROM Wornings WHERE (SNo = @SNo)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@EmpName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="EmpName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@EmpID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmpID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Violation" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Violation" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Consequence" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Consequence" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@ViolationDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="ViolationDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Penalty" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Penalty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@WorningType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="WorningType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SNo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EmpName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmpName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_EmpName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="EmpName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EmpID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmpID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_EmpID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmpID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Violation" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Violation" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Violation" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Violation" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Consequence" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Consequence" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Consequence" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Consequence" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ViolationDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ViolationDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_ViolationDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="ViolationDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Penalty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Penalty" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Penalty" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Penalty" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_WorningType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="WorningType" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_WorningType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="WorningType" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SNo" DataSetColumn="SNo" />
              <Mapping SourceColumn="EmpName" DataSetColumn="EmpName" />
              <Mapping SourceColumn="EmpID" DataSetColumn="EmpID" />
              <Mapping SourceColumn="Violation" DataSetColumn="Violation" />
              <Mapping SourceColumn="Consequence" DataSetColumn="Consequence" />
              <Mapping SourceColumn="ViolationDate" DataSetColumn="ViolationDate" />
              <Mapping SourceColumn="Penalty" DataSetColumn="Penalty" />
              <Mapping SourceColumn="WorningType" DataSetColumn="WorningType" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DSWornings" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DSWornings" msprop:Generator_UserDSName="DSWornings">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Wornings" msprop:Generator_TableClassName="WorningsDataTable" msprop:Generator_RowEvArgName="WorningsRowChangeEvent" msprop:Generator_TableVarName="tableWornings" msprop:Generator_TablePropName="Wornings" msprop:Generator_RowDeletingName="WorningsRowDeleting" msprop:Generator_UserTableName="Wornings" msprop:Generator_RowChangingName="WorningsRowChanging" msprop:Generator_RowDeletedName="WorningsRowDeleted" msprop:Generator_RowChangedName="WorningsRowChanged" msprop:Generator_RowEvHandlerName="WorningsRowChangeEventHandler" msprop:Generator_RowClassName="WorningsRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SNo" msprop:Generator_ColumnVarNameInTable="columnSNo" msprop:Generator_ColumnPropNameInRow="SNo" msprop:Generator_ColumnPropNameInTable="SNoColumn" msprop:Generator_UserColumnName="SNo" type="xs:int" />
              <xs:element name="EmpName" msprop:Generator_ColumnVarNameInTable="columnEmpName" msprop:Generator_ColumnPropNameInRow="EmpName" msprop:Generator_ColumnPropNameInTable="EmpNameColumn" msprop:Generator_UserColumnName="EmpName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="EmpID" msprop:Generator_ColumnVarNameInTable="columnEmpID" msprop:Generator_ColumnPropNameInRow="EmpID" msprop:Generator_ColumnPropNameInTable="EmpIDColumn" msprop:Generator_UserColumnName="EmpID" type="xs:int" minOccurs="0" />
              <xs:element name="Violation" msprop:Generator_ColumnVarNameInTable="columnViolation" msprop:Generator_ColumnPropNameInRow="Violation" msprop:Generator_ColumnPropNameInTable="ViolationColumn" msprop:Generator_UserColumnName="Violation" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Consequence" msprop:Generator_ColumnVarNameInTable="columnConsequence" msprop:Generator_ColumnPropNameInRow="Consequence" msprop:Generator_ColumnPropNameInTable="ConsequenceColumn" msprop:Generator_UserColumnName="Consequence" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ViolationDate" msprop:Generator_ColumnVarNameInTable="columnViolationDate" msprop:Generator_ColumnPropNameInRow="ViolationDate" msprop:Generator_ColumnPropNameInTable="ViolationDateColumn" msprop:Generator_UserColumnName="ViolationDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Penalty" msprop:Generator_ColumnVarNameInTable="columnPenalty" msprop:Generator_ColumnPropNameInRow="Penalty" msprop:Generator_ColumnPropNameInTable="PenaltyColumn" msprop:Generator_UserColumnName="Penalty" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="WorningType" msprop:Generator_ColumnVarNameInTable="columnWorningType" msprop:Generator_ColumnPropNameInRow="WorningType" msprop:Generator_ColumnPropNameInTable="WorningTypeColumn" msprop:Generator_UserColumnName="WorningType" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Wornings" />
      <xs:field xpath="mstns:SNo" />
    </xs:unique>
  </xs:element>
</xs:schema>